package ecoll.client.quiz;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;


@RemoteServiceRelativePath("quiz")
public interface QuizService extends RemoteService {

	public String createRoom(String roomName, int period, int delay,
			ArrayList<Long> files);

	public String joinRoom(String roomName);

	public void leaveRoom(String roomName);

	public ArrayList<QuizUserData> getRanking(String roomName);

	public Boolean userActivity(String roomName, String activity);

	public String getQuestion(String roomName);
}